package cloud.tianai.captcha.demo;

import cloud.tianai.captcha.resource.AbstractResourceProvider;
import cloud.tianai.captcha.resource.common.model.dto.Resource;

import java.io.InputStream;

/**
 * 功能说明：
 *
 * @author liuyang44728
 * @date 2024年04月07日 17:02
 */
public class OssResourceProvider extends AbstractResourceProvider {

    @Override
    public InputStream doGetResourceInputStream(Resource data) {
        return null;
    }

    @Override
    public boolean supported(String type) {
        return "oss".equalsIgnoreCase(type);
    }

    @Override
    public String getName() {
        return "oss";
    }
}
